Bundler\Controllers\OfferController A

Total Complexity 54
Dependencies 4
Dependents 5
Total lines 354
Lines of code 209
Logical lines of code 93
Comment lines 82
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
update_offer()
B
35 20 82
new_offer()
B
35 20 82
get_bundle_by_offer_id()
S
68 3 7
get_the_discounts()
S
67 2 8
get_the_discounts_desc()
S
67 2 8
get_all_offers()
S
81 1 3
get_qty_discount_offers()
S
81 1 3
get_offer_by_id()
S
80 1 3
get_discounts_by_offer_id()
S
80 1 3
get_the_offer()
S
80 1 3
remove_offer()
S
77 1 4
update_offer_status()
S
79 1 3